package com.guigu.qingcheng.systemservice.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.guigu.qingcheng.pojo.system.TbMenu;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author testjava
 * @since 2020-07-08
 */
public interface TbMenuService extends IService<TbMenu> {
    List<TbMenu> findList(@RequestBody Map<String, Object> searchMap);
    Page<TbMenu> findPage(@RequestParam("page") Integer page, @RequestParam("size") Integer size, @RequestBody Map<String, Object> searchMap);
    public List<Map> findAllMenu();
    public List<Map> findAllMenu2(@RequestParam("admin") String admin);
}
